const beh3 = require('./beh3')

const beh2 = Behavior({
  behaviors: [beh3],
  definitionFilter: (defFields, definationFilterArr) => {
    // console.log(defFields)
    // return {
    //   title: 'hello'
    // }
    // console.log(definationFilterArr)

    if(defFields.x >= 100) {
      definationFilterArr[0](defFields)
    } else {
      defFields.x = '成绩及格'
    }
  }
})

module.exports = beh2